package com.yic.module.device.controller.admin.deviceCategory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @ClassName DeviceCategorySimpleRespVO
 * @Description 设备分类精简列表
 * @Author Lijx
 * @Date 2023/11/1 11:52
 * @Version 1.0
 */
@Schema(description = "管理后台 - 设备分类 Response VO")
@Data
@EqualsAndHashCode
@ToString(callSuper = true)
public class DeviceCategorySimpleRespVO {

    @Schema(description = "设备分类编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long id;

    @Schema(description = "设备分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
    private String name;

    @Schema(description = "父分类 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    private Long parentId;
}
